package com.app.xinfadi.base;

/**
 * Created by wenqiang on 2015/7/31.
 */
public class Constant {
    /**
     * 服务器地址
     */
//    public static final String URL = "http://192.168.3.111:8080/xinfadi/app/";
//    public static final String URL = "http://192.168.137.1:8080/xinfadi/app/";
    public static final String BASE_URL = "http://192.168.23.2:8080";

    public static final String URL = "http://192.168.23.2:8080/xinfadi/app/";
    public static final String BASE_PATH = android.os.Environment.getExternalStorageDirectory().getPath()
            + "/" + MyApplication.getInstance().getApplicationName();
    public  static  final String IMAGE_URL = BASE_URL;

    /**
     * logger 存储路径
     */
    public static final String LOG_DIR = BASE_PATH + "/log/" + MyApplication.getInstance().getApplicationName() + ".log";
    /**
     * 圈子图片保存路径
     */
    public static final String IMAGE_SAVE_PATH = BASE_PATH + "/images/";
    public static final String CHACHE = BASE_PATH + "/CHACHE/";

    public static final int USERDATAACTIVITY_TO_USERMODIFYPWDACTIVITY_NAME = 4;
    public static final int USERDATAACTIVITY_TO_USERMODIFYPWDACTIVITY_PASSWARD = 1;
    /**
     * 用户上传照片保存路径
     */
    public static final String CAMERAPATH = "/data/data/" + MyApplication.getInstance().getPackageName() + "/cache/Camera";
    /**
     * 用户头像保存的
     */
    public static final String IMAGEPATH = CAMERAPATH + "/user_head.jpg";
    /**
     * 更新apk存储路径
     */
    public static final String UPDATE_SAVE_PATH = BASE_PATH + "/update/";

}
